/*
 * BestFit2.h
 *
 *  Created on: Apr 18, 2013
 *      Author: erik
 */

#ifndef BESTFIT2_H_
#define BESTFIT2_H_

#include "BestFit.h"


class BestFit2 : public BestFit {

public:
	explicit	// see: http://en.cppreference.com/w/cpp/language/explicit
	/// @param cflag	initial status of check-mode
	/// @param type		name of this algorithm (default=NextFit2)
	BestFit2(bool cflag, const char *type = "BestFit (eager)")
		: BestFit(cflag, type) {}

	/// The application returns an area to freespace
	/// @param ap	The area returned to free space
	void	 free(Area *ap);	// application returns space
};

#endif /* BESTFIT2_H_ */
